package com.arlen.common.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Setter;

import java.util.Map;

@XStreamAlias("xml") //将转换的xml 根节点转换成xml 否则根节点就会是类的权限定名
@Setter
//文本消息
public class TextMessage extends BaseMessage {
    // 回复的消息内容   
    private String Content;  
   
    public String getContent() {  
        return Content;  
    }  
   
    public void setContent(String content) {  
        Content = content;  
    }

    public TextMessage(Map<String, String> map) {
        super(map);
        this.Content = map.get("Content");
    }
}